package com.gxa.mapper;

import com.gxa.param.MyTableParam;

import com.gxa.pojo.Warn;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerCareWarnMapper {

    List<Warn> findAll(@Param("param") MyTableParam param);

    Warn findByName(@Param("warnName") String warnName);

    Warn findByPk(@Param("warnId") Integer warnId);

    void update(@Param("warn") Warn warn);

    void save(@Param("warn") Warn warn);

    void deleteAll(@Param("ids") String[] ids);

    void deleteOneById(@Param("warnId") Integer warnId);
}
